package com.yugong.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 角色实体类
 *
 * @author yugong
 * @date 2024/2/9
 */
@Data
@TableName("t_role")
@AllArgsConstructor
@NoArgsConstructor
public class Role {
    @TableId(value = "role_no", type = IdType.AUTO)
    private Integer roleNo;
    @TableField("role_name")
    private String roleName;
    @TableField("role_create_man")
    private String roleCreateMan;
    @TableField("role_create_time")
    private Date roleCreateTime;
    @TableField("role_update_man")
    private String roleUpdateMan;
    @TableField("role_update_time")
    private Date roleUpdateTime;
}
